// WhoIsWho.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
// OpenCV Sample Application: facedetect.c

// Include header files
#include "cv.h"
#include "highgui.h"
#include "FaceDetective.h"

//int FaceDetection( int argc, char** argv );

int main(int argc, char** argv[])
{

// specify input 0 - camera; 1 - image folder; 2 - video
	int INPUT_TYPE = 0;

//	FaceDetection(argc, argv[]);
	FaceDetective detective;
//	detective = new FaceDetective();
	if(0 == detective.report())
	{
		// no input - from cam,  
		// input as folder - from images, 
		// input as .avi - from video
//		detective.detect("NULL");	
//		detective.detect("C:/Users/jeff/Pictures/2010-08-08/P8090574.avi");	
		detective.detect("C:/Users/jeff/Pictures/2010-08-08/P8080568.jpg");	
	}

	return 0;
}

